package com.cxrj.zhsq.community.dao;

import java.util.List;
import java.util.Map;

import com.cxrj.zhsq.community.entity.CommunityCircle;
import com.cxrj.zhsq.community.entity.CommunityCircleWithBLOBs;

public interface CommunityCircleMapper {
    int deleteByPrimaryKey(String id);

    int insert(CommunityCircleWithBLOBs record);

    int insertSelective(CommunityCircleWithBLOBs record);

    CommunityCircleWithBLOBs selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(CommunityCircleWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(CommunityCircleWithBLOBs record);

    int updateByPrimaryKey(CommunityCircle record);
    
    List<CommunityCircleWithBLOBs> selectCommunityCircle(Map<String, Object> map);
    
    List<Map<String, Object>> selectCommunityCirclePager(Map<String, Object> sqlMap);
    
    int getCommunityCircleCount(Map<String, Object> sqlMap);
    
    int deleteCommunityCircle(String id);
}